package com.infocollect.project.api.enums;

public enum ApiTypeEnum implements IBaseEnum<Integer> {
    LIST(1, "列表"),
    QUERY(2, "查询"),
    OPERATE(3, "操作"),
    IMPORT(4, "导入"),
    FOROBJECT(5, "对象"),
    ;


    private int value;
    private String description;

    ApiTypeEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
